package com.ybbase.framework.service.flow;

import com.ybbase.framework.base.model.ResponseBean;
import com.ybbase.framework.model.po.flow.FlowActionMethodParam;

/**
 * @author cg
 * @date 2019-10-23 21:15
 * @since 4.0
 */
public interface BaseWeightService  {

    /**
     * 流程主要执行方法
     * @param
     * @return
     * @author cg
     * @date 2019-10-23 21:23
     * @since 4.0
    */
    ResponseBean executeFlow(FlowActionMethodParam param);

    /**
     * 结束流程
     * @param
     * @return
     * @author cg
     * @date 2019-10-25 11:41
     * @since 4.0
    */
    int endFlow(FlowActionMethodParam param);
}
